import http from '@/tools/http'
import qs from 'qs';
export default {
    getList(obj) {
        obj = {
            args: JSON.stringify(obj)
        }
        obj = qs.stringify(obj);
        return http({
            headers: {
                'Content-Type': 'application/x-www-form-urlencoded'
            },
            url: '/Ashx/PostHandler.ashx?action=News-GetPublishNewsList',
            method: 'post',
            data: obj
        })
    },
}